Skip to content

[3.15] gh-160924: Don't run the build Python with RUNSHARED when cross-compiling (GH-161321) - #161659

Open
aozmekik wants to merge 2 commits into
python:3.15from
aozmekik:backport-7271803-3.15
Open

aozmekik wants to merge 2 commits into
python:3.15from
aozmekik:backport-7271803-3.15

Conversation

@aozmekik

@aozmekik aozmekik commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

(cherry picked from commit 7271803)

The automatic backport conflicted because 3.15 still names the target build-details.json instead of $(BUILD_DETAILS), so that line keeps the 3.15 name. configure is regenerated with Tools/build/regen-configure.sh.

Checked on 3.15 the same way as on main: a glibc → musl cross build with --enable-shared fails at pybuilddir.txt without this and passes with it, make install compiles the stdlib with no loader errors, and a PGO cross build still runs the profile task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant